package com.urea.system.domain.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.urea.common.annotation.Excel;
import com.urea.common.core.domain.BaseEntity;
import com.urea.system.domain.Terminal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 终端对象 t_terminal
 *
 * @author liuzd
 * @date 2023-08-01
 */
@Data
@ToString
@ApiModel("终端对象地理位置信息")
public class TerminalGEOVo {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("终端信息")
    private Terminal terminal;
    @ApiModelProperty("距离")
    private Double distance;

    public TerminalGEOVo(Terminal terminal, Double distance) {
        this.terminal = terminal;
        this.distance = distance;
    }
}
